package com.nuorui.module.system.domain.vo;

import com.nuorui.common.core.domain.LoginUser;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 类描述
 *
 * @author: Fred
 * @email 453086@qq.com
 * @create: 2025-06-09 10:51
 */
@Data
public class LoginResultVO extends LoginUser {

    @ApiModelProperty(value = "token")
    private String token;

    @ApiModelProperty(value = "菜单列表")
    private List<MenuVO> menuList;

    @ApiModelProperty(value = "是否需要修改密码")
    private Boolean needUpdatePwdFlag;

    @ApiModelProperty(value = "上次登录ip")
    private String lastLoginIp;

    @ApiModelProperty(value = "上次登录ip地区")
    private String lastLoginIpRegion;

    @ApiModelProperty(value = "上次登录user-agent")
    private String lastLoginUserAgent;

    @ApiModelProperty(value = "上次登录时间")
    private LocalDateTime lastLoginTime;

}
